Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use last synced block slot and root #84

Merged
merged 3 commits into from
Feb 14, 2025

Conversation

PJColombo
Copy link
Member

@PJColombo PJColombo commented Feb 14, 2025

This PR enhances the indexer’s handling of reorg scenarios when resuming from the last indexed slot, which may have been affected by a reorganization.

By keeping track of the last synced block root, the indexer can compare it with the parent of the current block to detect a reorg

@PJColombo PJColombo force-pushed the feat/store-last-synced-block-data branch from 0e1ad4f to 699eac3 Compare February 14, 2025 14:32
@PJColombo PJColombo merged commit d41a594 into master Feb 14, 2025
1 check passed
@PJColombo PJColombo deleted the feat/store-last-synced-block-data branch February 14, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant